package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * news对象 news
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
public class News extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 序号 */
    @Excel(name = "序号")
    private Long number;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String newName;

    /** 新闻内容 */
    @Excel(name = "新闻内容")
    private String newContent;

    @Excel(name = "摘要")
    private String summary;

    /** 新闻浏览量 */
    @Excel(name = "新闻浏览量")
    private String pageView;

    /** 新闻关键词 */
    @Excel(name = "新闻关键词")
    private String newKeyword;

    /** 新闻类型 */
    @Excel(name = "新闻类型")
    private String newType;

    /** 新闻附件 */
    @Excel(name = "新闻附件")
    private String newUrl;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 0是正常、1是删除 */
    @Excel(name = "0是正常、1是删除")
    private String deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setNewName(String newName) 
    {
        this.newName = newName;
    }

    public String getNewName() 
    {
        return newName;
    }
    public void setNewContent(String newContent) 
    {
        this.newContent = newContent;
    }

    public String getNewContent() 
    {
        return newContent;
    }
    public void setPageView(String pageView) 
    {
        this.pageView = pageView;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getPageView() 
    {
        return pageView;
    }
    public void setNewKeyword(String newKeyword) 
    {
        this.newKeyword = newKeyword;
    }

    public String getNewKeyword() 
    {
        return newKeyword;
    }
    public void setNewType(String newType) 
    {
        this.newType = newType;
    }

    public String getNewType() 
    {
        return newType;
    }
    public void setNewUrl(String newUrl) 
    {
        this.newUrl = newUrl;
    }

    public String getNewUrl() 
    {
        return newUrl;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("newName", getNewName())
            .append("newContent", getNewContent())
            .append("pageView", getPageView())
            .append("newKeyword", getNewKeyword())
            .append("newType", getNewType())
            .append("newUrl", getNewUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
